﻿#region Using
using System.Collections.Generic;
using System.Collections.ObjectModel;

#endregion

namespace Linq2Crm.Helper
{
	public static class ObservableCollectionExtension
	{
		public static void AddRange<T>(this ObservableCollection<T> collection, IEnumerable<T> items)
		{
			if (items == null)
			{
				return;
			}

			foreach (T item in items)
			{
				collection.Add(item);
			}
		}
	}
}